Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
iwriter.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017 Roc authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_audio/iwriter.h
10
//! @brief Audio writer interface.
11
12
#ifndef ROC_AUDIO_IWRITER_H_
13
#define ROC_AUDIO_IWRITER_H_
14
15
#include "
roc_audio/frame.h
"
16
17
namespace
roc
{
18
namespace
audio {
19
20
//! Audio writer interface.
21
class
IWriter
{
22
public
:
23
virtual
~IWriter
();
24
25
//! Write audio frame.
26
virtual
void
write
(
Frame
& frame) = 0;
27
};
28
29
}
// namespace audio
30
}
// namespace roc
31
32
#endif
// ROC_AUDIO_IWRITER_H_
roc::audio::Frame
Audio frame.
Definition:
frame.h:22
roc::audio::IWriter
Audio writer interface.
Definition:
iwriter.h:21
roc::audio::IWriter::write
virtual void write(Frame &frame)=0
Write audio frame.
frame.h
Audio frame.
roc
Root namespace.
roc_audio
iwriter.h
Generated by
1.9.5